Items and Inventory
Commands to allows for players' inventory manipulation and items spawning.
Configuration
Each of the commands may have a specific configuration options included with it. Please check commands descriptions for more details.
/cex_item
- Description: Advanced item spawning with support for auto item name completion and damage values.
- Usage: /cex_item \<item-name>:[damage-value] [amount]
- Permission node: cex.item
- Default permission: OP only
- Aliases: item, i
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_item.class
/cex_give
- Description: Advanced item spawning with support for auto item name completion and damage values.
- Usage: /cex_give \<item-name>:[damage-value] [amount]
- Permission node: cex.give
- Default permission: OP only
- Aliases: give, giveto
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_give.class
/cex_repair
- Description: Repairs the item in your hand.
- Usage: /cex_repair
- Permission node: cex.repair
- Default permission: OP only
- Aliases: repair
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_repair.class
/cex_clear
- Description: Clears player's inventory or its part, based on parameters.
- Usage: /cex_clear [Player] (all|backpack|quick|armor)
- Permission nodes:
- cex.clear -> to allow clearing of Player's own inventory
- cex.clear.all -> to allow clearing of anyone's inventory
- Default permission: OP only
- Aliases: clearinventory, clear, clearinvent, ci
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_clear.class
/cex_kit
- Description: Allows player to obtain a predefined kit (group of items).
- Usage: /cex_kit \<Kit_Name> [Player]
- Permission nodes:
- cex.kits.use -> to enable usage of kits from at least * group. Default: Everyone
- cex.kits.use.others -> to enable giving kits to other players. Default: OP only
- cex.kits.cooldown.bypass -> to disable cooldown on all kits for the player. Default: OP only
- cex.kits.KIT_GROUP_NAME -> in order for players to be allowed to use kits from a certain kits group, they must have a permission with this kit group name (e.g. for our boneheads kit group below, player will need to have permission "cex.kits.boneheads")
- Aliases: kit, kits, k
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_kit.class
Configuration:
kits:
# asterisk (*) denotes a group of kits available to everyone
"*":
starter:
onetime: true # if true, this kit can only be obtained once per player
onjoin : true (if true, new players automatically start with items from this kit in their inventory as they join the server)
2 : 4 # 4x grass block
298 : 1 # 1x leather helmet
"35:5" : 8 # 8x lime wool block
# players with the permission cex.kits.boneheads will additionally be able to use these kits
boneheads:
supplies:
352 : 50 # 50x bone
cooldown: 120 # players can't get this kit sooner than this (in seconds)
/cex_xp
- Description: A variety of commands to manage players Experience
- Usage: /cex_xp [player] (view/set/add/take) [amount]
- Permission nodes:
- cex.xp -> Allows access to the /xp command
- cex.xp.all -> Allows access to all xp command functions
- cex.xp.view -> Allows the player to see their own Experience amount
- cex.xp.view.others -> Allows the player to see other players Experience amount
- cex.xp.set -> Allows the player to set their own amount of Experience balance
- cex.xp.set.others -> Allows the player to set another players Experience balance
- cex.xp.give -> Allows the player to add to their Experience balance
- cex.xp.give.others -> Allows the player to add to others Experience balance
- cex.xp.take -> Allows the player to take from their Experience balance
- cex.xp.take.others -> Allows the player to take from another players Experience balance
- Default permission: OP only
- Aliases: xp, exp, experience
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_xp.class
/cex_enchant
- Description: A complete enchanting suite to handle all enchanting needs
- Usage: /cex_enchant [list/clear/remove/all/enchantment] [level] [flags]
- Permission nodes:
- cex.enchant -> Allows access to the /enchant command
- cex.enchant.<enchantment></enchantment> -> Allows the player to enchant an item with that specific enchantment
- cex.enchant.* -> Allow the player access to all enchantments
- cex.enchant.all -> Allows the player to add all enchantments to the item in hand
- cex.enchant.remove -> Allows the player to remove an enchantment from the item in hand
- cex.enchant.clear -> Allows the player to clear all enchantments from the item in hand
- Default permission: OP only
- Aliases: enchant
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_enchant.class
/cex_enderchest
- Description: Opens a players enderchest
- Usage: /cex_enderchest [player]
- Permission nodes:
- cex.enderchest -> Allows access to the /enchant command
- cex.enderchest.others -> Allows the player to open another players enderchest
- Default permission: OP only
- Aliases: enderchest, ec, echest
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_enderchest.class